package seiacpjava_a2.datastructures;

public abstract class DataStructure {
	
	protected int numberOfAccesses;
	
	public abstract void add(int item);
	public abstract boolean contains(int item);
	public abstract String getDatatStructureName();
	
	
	public int getNumberOfAccesses() {
		return numberOfAccesses;
	}

	public void setNumberOfAccesses(int numberOfAccesses) {
		this.numberOfAccesses = numberOfAccesses;
	}

}
